package org.example.chapter9.main;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Repository;

/**
 * @author CoderXshuai
 * @date 2020/8/9/0009 19:05
 */
//定制扫描路径
@SpringBootApplication(scanBasePackages = "org.example")
@MapperScan(basePackages = "org.example.chapter7", annotationClass = Repository.class)
public class Chapter9Application {
    public static void main(String[] args) {
        SpringApplication.run(Chapter9Application.class, args);
    }
}
